<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.sinopec.siam.agent.common.ContextHolder"%>
<%@page import="com.sinopec.siam.agent.common.SSOPrincipal"%>
<%@page import="java.util.Arrays"%>
<%@page import="java.util.List"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>统一身份集成示例</title>
    <style type="text/css">
        body,
        html {
            height: 100%;
        }

        body {
            padding: 0px;
            margin: 0;
            overflow: hidden;
            background: #fafafa;
        }

        .l-topmenu {
            margin: 0;
            padding: 0;
            height: 50px;
            position: relative;
            color: #fff;
            background-color: rgb(83, 148, 214);
        }

        .l-topmenu-logo {
            padding-left: 15px;
            padding-top: 1px;
        }

        .l-topmenu-welcome {
            position: absolute;
            height: 24px;
            line-height: 24px;
            right: 5px;
            bottom: 2px;
        }

        .l-topmenu-welcome a {
            text-decoration: underline
        }

        .space {
            color: #E7E7E7;
        }

        p span {
            padding: 10px 20px;
            line-height: 35px;
        }

        p.head span {
            font-size: 14px;
        }

        p.head span span {
            padding: 0px;
            color: #a0a0a0;
        }

        .topButton {
            width: 110px;
            height: 33px;
            text-align: center;
            font-size: 13px;
            /*  line-height: 33px; */
            margin: 10px 20px;
            /* margin-top:20px; */
        }

        .l-table-edit-td-title {
            padding: 4px;
            font-weight: bold;
            vertical-align: top;
        }

        .l-table-edit-td-input {
            padding: 4px;
        }

        .l-button-submit,
        .l-button-test {
            width: 80px;
            float: left;
            margin-left: 10px;
            padding-bottom: 2px;
        }

        .l-div-center {
            display: inline-block;
            _display: inline;
            *display: inline;
            zoom: 1;
            margin-left: 3px;
            margin-right: 3px;
        }

        .l-div-link {
            display: inline-block;
            _display: inline;
            *display: inline;
            zoom: 1;
            cursor: pointer;
            cursor: hand;
            margin-left: 3px;
            margin-right: 3px;
        }

        .l-link {
            color: blue;
            margin-left: 2px;
            margin-right: 2px;
        }

        .l-layout-header {
            color: #101010;
            height: 24px;
            line-height: 24px;
            background: #d7d7d7 repeat-x;
            border-bottom: 1px solid #d0d0d0
        }

        #content {
            width: 100%;
        }

        #content table {
            width: 98%;
            border-collapse: collapse;
        }

        #content table td {
            border: solid 1px #ececec;
            padding: 4px 10px;
        }
    </style>
    <script type="text/javascript">
        function viewProperties() {
            if (document.getElementById("content").style.display === "none") {
                document.getElementById("content").style.display = "block";
                document.getElementById("source").style.display = "none";
            } else {
                document.getElementById("content").style.display = "none";
                document.getElementById("source").style.display = "none";
            }
        }

        function viewSourceCode() {
            if (document.getElementById("source").style.display === "none") {
                document.getElementById("content").style.display = "none";
                document.getElementById("source").style.display = "block";
            } else {
                document.getElementById("content").style.display = "none";
                document.getElementById("source").style.display = "none";
            }
        }
    </script>
</head>
<body>


<div id="topmenu" class="l-topmenu">
    <div class="l-topmenu-logo"><h2>欢迎使用 SIAM Demo for JAVA</h2></div>
    <div class="l-topmenu-welcome" id="topWelcome">
        当前用户: <%=((SSOPrincipal) ContextHolder.getContext().getAttribute(SSOPrincipal.NAME_OF_SESSION_ATTR)).getUid()%>
                <span class="space">|</span>
			    <a href="./SSO/GLO/Redirect" style="color: #fff">登出</a>
		    </div>
	    </div>
   <%
	  SSOPrincipal ssoPrincipal = ((SSOPrincipal) ContextHolder.getContext().getAttribute(SSOPrincipal.NAME_OF_SESSION_ATTR));
	  List attributes = ssoPrincipal.getAttributeNames();
	  List<String> spRoleList=(List<String>)ssoPrincipal.getValueAsList("spRoleList");
	%>
	<p class="head">
	 	<%
			if(ssoPrincipal.getAppAccount()==null||"".equals(ssoPrincipal.getAppAccount())){
		%>
			<%response.sendRedirect("no_access.jsp"); %>
		<% }else{%>
			<span>用户姓名: <span><%=ssoPrincipal.getCn()%></span></span>
            <span>用户账号: <span><%=ssoPrincipal.getUid()%></span></span>
            <span>应用账号: <span><%=Arrays.toString(ssoPrincipal.getAppAccount())%></span></span>
		<%} %>
		<button id="viewProperties" class="topButton" onclick="viewProperties()">查看属性</button>
		<button id="viewSourceCode" class="topButton" onclick="viewSourceCode()">查看源码</button>
	 </p>
        <div id="content" style=" height:450px; overflow-y:scroll;display: none;">
            <table class="l-table-edit">
                <thead>
                    <tr>
                        <th class="l-layout-header" style="width:30%;">
                            属性名称
                        </th>
                        <th class="l-layout-header">
                            属性值
                        </th>
                    </tr>
                </thead>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	统一ID
                    </td>
                    <td class="l-table-edit-td-input">
						<%=ssoPrincipal.getUid()%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户姓名
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getCn()%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	默认认证方式
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getLastAuthenMethod()%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	当前认证方式
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getActualAuthMethod()%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	当前认证级别
                    </td>
                    <td class="l-table-edit-td-input">
                     <%=ssoPrincipal.getActualAuthLevel()%>
                    </td>
             	</tr>
             	<%-- <tr>
             		<td class="l-table-edit-td-title">
                        	命中账号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("selectedAccountName") == null ? "":ssoPrincipal.getValueAsList("selectedAccountName")%>
                    </td>
             	</tr> --%>
             	<%-- <tr>
             		<td class="l-table-edit-td-title">
                        	账号类型
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("selectedAccountType") == null ? "":ssoPrincipal.getValueAsList("selectedAccountType")%>
                    </td>
             	</tr> --%>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	所有AD帐号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getAdAccounts() == null ? "":Arrays.toString(ssoPrincipal.getAdAccounts())%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	员工编号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("employeeNumber") == null ? "":ssoPrincipal.getValueAsList("employeeNumber")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	员工类型
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("employeeType") == null ? "":ssoPrincipal.getValueAsList("employeeType")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户类型
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("userType") == null ? "":ssoPrincipal.getValueAsList("userType")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	部门名称
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("ou") == null ? "":ssoPrincipal.getValueAsList("ou")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	部门编号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("departmentNumber") == null ? "":ssoPrincipal.getValueAsList("departmentNumber")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	岗位名称
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spPositionName") == null ? "":ssoPrincipal.getValueAsList("spPositionName")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("title") == null ? "":ssoPrincipal.getValueAsList("title")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务级别
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spTitleLevel") == null ? "":ssoPrincipal.getValueAsList("spTitleLevel")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务分类
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spTitleCategory") == null ? "":ssoPrincipal.getValueAsList("spTitleCategory")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务编码
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spTitleNumber") == null ? "":ssoPrincipal.getValueAsList("spTitleNumber")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	默认AD账号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("ADAccountName") == null ? "":ssoPrincipal.getValueAsList("ADAccountName")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	组织编码全路径
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spOrgCodePath") == null ? "":ssoPrincipal.getValueAsList("spOrgCodePath")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	组织名称全路径
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spOrgNamePath") == null ? "":ssoPrincipal.getValueAsList("spOrgNamePath")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户的应用账号列表
                    </td>
                    <td class="l-table-edit-td-input">
                    <%-- <% List<String> tmpList = ssoPrincipal.getValueAsList("spRoleList");
                    System.out.println(tmpList.toString());
                       String tmpAccount = "";
                       if(tmpList != null){
	                       for(int i=0;i<tmpList.size();i++){
	                    	   String[] tmpStr = tmpList.get(i).split("@");
	                    	   tmpAccount += tmpStr[0];
                       }   
                    %>
                      <%=ssoPrincipal.getValueAsList("spRoleList") == null ? "":"[" + tmpAccount + "]"%>
                    <% } %> --%>
                    <%=ssoPrincipal.getAppAccount() == null ? "":Arrays.toString(ssoPrincipal.getAppAccount())%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	电子邮件地址
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("mail") == null ? "":ssoPrincipal.getValueAsList("mail")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	电话号码
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("mobile") == null ? "":ssoPrincipal.getValueAsList("mobile")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	性别
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spGender") == null ? "":ssoPrincipal.getValueAsList("spGender")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	国籍
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spCountry") == null ? "":ssoPrincipal.getValueAsList("spCountry")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用工级别
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spEmployeeLevel") == null ? "":ssoPrincipal.getValueAsList("spEmployeeLevel")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	国家代码
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("c") == null ? "":ssoPrincipal.getValueAsList("c")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	最后更新时间
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spUpdateDate") == null ? "":ssoPrincipal.getValueAsList("spUpdateDate")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	密码最后修改时间
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("ChangePwdAt") == null ? "":ssoPrincipal.getValueAsList("ChangePwdAt")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	兼职岗位
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spPluralityParents") == null ? "":ssoPrincipal.getValueAsList("spPluralityParents")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户借调状态
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("spTransferStatus") == null ? "":ssoPrincipal.getValueAsList("spTransferStatus")%>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户组信息
                    </td>
                    <td class="l-table-edit-td-input">
                      <%=ssoPrincipal.getValueAsList("appgroup") == null ? "":ssoPrincipal.getValueAsList("appgroup")%>
                    </td>
             	</tr>
            </table>
        </div>
       <div id="source" style="display: none;height:500px;">
      	<textarea style="width: 100%;height: 480px;resize: none;">
	
	<div>
	   <%out.print("<% SSOPrincipal ssoPrincipal = ((SSOPrincipal) ContextHolder.getContext().getAttribute(SSOPrincipal.NAME_OF_SESSION_ATTR));%"+">"); %>
            <table class="l-table-edit">
                <thead>
                    <tr>
                        <th class="l-layout-header" style="width:30%;">
                            	属性名称
                         </th>
                        <th class="l-layout-header">
                           	属性值
                         </th>
                    </tr>
                </thead>
             	<tr>
             	    <td class="l-table-edit-td-title">
                        	统一ID
                    </td>
                    <td class="l-table-edit-td-input">    
                  		<!--获取统一ID-->
				<%out.print("<%=ssoPrincipal.getUid()%"+">"); %>
                    </td>
             	</tr>
             	
             	<tr>
             	    <td class="l-table-edit-td-title">
                        	用户姓名
                    </td>
                    <td class="l-table-edit-td-input">
                    		<!--获取用户姓名-->
                      		<%out.print("<%=ssoPrincipal.getCn()%"+">"); %>
                    </td>
             	</tr>
             	
             	<tr>
             	    <td class="l-table-edit-td-title">
                        	默认认证方式
                      </td>
                    <td class="l-table-edit-td-input">
                    		<!--获取默认认证方式-->
                      		<%out.print("<%=ssoPrincipal.getLastAuthenMethod()%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             	    <td class="l-table-edit-td-title">
                        	当前认证方式
                      </td>
                    <td class="l-table-edit-td-input">
                    		<!--获取当前认证方式-->
                      		<%out.print("<%=ssoPrincipal.getActualAuthMethod()%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             	    <td class="l-table-edit-td-title">
                        	当前认证级别
                      </td>
                    <td class="l-table-edit-td-input">
                    		<!--获取当前认证级别-->
                      		<%out.print("<%=ssoPrincipal.getActualAuthLevel()%"+">"); %>
                    </td>
             	</tr>
             	<%-- <tr>
             		<td class="l-table-edit-td-title">
                        	命中账号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"selectedAccountName\") == null ? \"\":ssoPrincipal.getValueAsList(\"selectedAccountName\")%"+">"); %>
                    </td>
             	</tr> --%>
             	<%-- <tr>
             		<td class="l-table-edit-td-title">
                        	账号类型
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"selectedAccountType\") == null ? \"\":ssoPrincipal.getValueAsList(\"selectedAccountType\")%"+">"); %>
                    </td>
             	</tr> --%>
             	
             	<tr>
             		<td class="l-table-edit-td-title">
                        	所有AD帐号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getAdAccounts() == null ? \"\":Arrays.toString(ssoPrincipal.getAdAccounts())%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	员工编号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"employeeNumber\") == null ? \"\":ssoPrincipal.getValueAsList(\"employeeNumber\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	员工类型
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"employeeType\") == null ? \"\":ssoPrincipal.getValueAsList(\"employeeType\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户类型
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"userType\") == null ? \"\":ssoPrincipal.getValueAsList(\"userType\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	部门名称
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"ou\") == null ? \"\":ssoPrincipal.getValueAsList(\"ou\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	部门编号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"departmentNumber\") == null ? \"\":ssoPrincipal.getValueAsList(\"departmentNumber\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	岗位名称
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spPositionName\") == null ? \"\":ssoPrincipal.getValueAsList(\"spPositionName\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"title\") == null ? \"\":ssoPrincipal.getValueAsList(\"title\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务级别
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spTitleLevel\") == null ? \"\":ssoPrincipal.getValueAsList(\"spTitleLevel\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务分类
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spTitleCategory\") == null ? \"\":ssoPrincipal.getValueAsList(\"spTitleCategory\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	职务编码
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spTitleNumber\") == null ? \"\":ssoPrincipal.getValueAsList(\"spTitleNumber\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	默认AD账号
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"ADAccountName\") == null ? \"\":ssoPrincipal.getValueAsList(\"ADAccountName\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	组织编码全路径
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spOrgCodePath\") == null ? \"\":ssoPrincipal.getValueAsList(\"spOrgCodePath\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	组织名称全路径
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spOrgNamePath\") == null ? \"\":ssoPrincipal.getValueAsList(\"spOrgNamePath\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户的应用账号列表
                    </td>
                    <td class="l-table-edit-td-input">
                    <%-- <%out.print("<% List<String> tmpList = ssoPrincipal.getValueAsList(\"spRoleList\");\n");
                    out.print("String tmpAccount = \"\";\n");
                    		out.print("for(int i=0;i<tmpList.size();i++){\n");
                    				out.print("String[] tmpStr = tmpList.get(i).split(\"@\");\n");
                    						out.print("tmpAccount = tmpStr[0];\n");
                    						out.print("%"+">");
                    %>
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spRoleList\") == null ? \"\":\"[\" + tmpAccount + \"]\"%"+">"); %>
                <%out.print("<% } %"+">"); %> --%>
                <%out.print("<%=ssoPrincipal.getAppAccount() == null ? \"\":Arrays.toString(ssoPrincipal.getAppAccount())%"+">"); %>
                	</td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	电子邮件地址
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"mail\") == null ? \"\":ssoPrincipal.getValueAsList(\"mail\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	电话号码
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"mobile\") == null ? \"\":ssoPrincipal.getValueAsList(\"mobile\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	性别
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spGender\") == null ? \"\":ssoPrincipal.getValueAsList(\"spGender\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	国籍
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spCountry\") == null ? \"\":ssoPrincipal.getValueAsList(\"spCountry\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用工级别
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spEmployeeLevel\") == null ? \"\":ssoPrincipal.getValueAsList(\"spEmployeeLevel\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	国家代码
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"c\") == null ? \"\":ssoPrincipal.getValueAsList(\"c\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	最后更新时间
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spUpdateDate\") == null ? \"\":ssoPrincipal.getValueAsList(\"spUpdateDate\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	密码最后修改时间
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"ChangePwdAt\") == null ? \"\":ssoPrincipal.getValueAsList(\"ChangePwdAt\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	兼职岗位
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spPluralityParents\") == null ? \"\":ssoPrincipal.getValueAsList(\"spPluralityParents\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户借调状态
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"spTransferStatus\") == null ? \"\":ssoPrincipal.getValueAsList(\"spTransferStatus\")%"+">"); %>
                    </td>
             	</tr>
             	<tr>
             		<td class="l-table-edit-td-title">
                        	用户组信息
                    </td>
                    <td class="l-table-edit-td-input">
                      <%out.print("<%=ssoPrincipal.getValueAsList(\"appgroup\") == null ? \"\":ssoPrincipal.getValueAsList(\"appgroup\")%"+">"); %>
                    </td>
             	</tr>

            </table>
        </div>
		</textarea>
       </div>
</body>
</html>